//
//  CXBaseNavViewController.m
//  base_test
//
//  Created by  androidlongs on 17/8/9.
//  Copyright © 2017年  androidlongs. All rights reserved.
//

#import "CXBaseNavViewController.h"

@interface CXBaseNavViewController ()

@end

@implementation CXBaseNavViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    //设置bar的颜色
    self.navigationBar.barTintColor=[UIColor colorWithHexString:@"#4169E1"];
    self.navigationBar.tintColor=[UIColor whiteColor];
    [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;
    
   
//    if (UI_IS_IPHONE6PLUS) {
//        [self.navigationBar setBackgroundImage:[UIImage imageNamed:@"nav_bar_plus_bg"]  forBarMetrics:UIBarMetricsDefault];
//    } else {
//        [self.navigationBar setBackgroundImage:[UIImage imageNamed:@"nav_bar_bg"]  forBarMetrics:UIBarMetricsDefault];
//    }
    
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
